package com.wzh.dao;

import com.wzh.pojo.Po.Student;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface Studentdao {

	List<Student> getbyid(@Param("classid")int classid);
//单条数据删除
	int deleteids(@Param("ids") int ids);
//多条数据添加
	int updateids(@Param("ids") int[] ids,@Param("classid") int classid);
}
